using SqlSugar;

namespace SiemensAmd.Mmt.DevQt
{
	[SugarTable("tool_device_config")]
	public class ToolDeviceConfigEntity
	{
		[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键", ColumnName = "id")]
		public long Id { get; set; }

		[SugarColumn(ColumnName = "fmc_no")]
		public string FMCNo { get; set; }

		[SugarColumn(ColumnDescription = "设备编号", ColumnName = "device_no")]
		public string DeviceNo { get; set; }

		[SugarColumn(ColumnDescription = "刀库", ColumnName = "tool_in_mag")]
		public int ToolInMag { get; set; }

		[SugarColumn(ColumnDescription = "位置", ColumnName = "tool_in_place")]
		public int ToolInPlace { get; set; }

		[SugarColumn(ColumnDescription = "最小长度", ColumnName = "length_min")]
		public double LengthMin { get; set; }

		[SugarColumn(ColumnDescription = "最大长度", ColumnName = "length_max")]
		public double LengthMax { get; set; }

		[SugarColumn(ColumnDescription = "最小半径", ColumnName = "radius_min")]
		public double RadiusMin { get; set; }

		[SugarColumn(ColumnDescription = "最大半径", ColumnName = "radius_max")]
		public double RadiusMax { get; set; }

		[SugarColumn(ColumnDescription = "位置可用", ColumnName = "place_valid")]
		public bool PlaceValid { get; set; }
	}
}
